Don't test datetime in locales with no encoding
authorDebian Science Team <debian-science-maintainers@lists.alioth.debian.org>
Wed, 11 Jan 2023 07:34:28 +0000 (07:34 +0000)
committerRebecca N. Palmer <rebecca_palmer@zoho.com>
Wed, 11 Jan 2023 07:34:28 +0000 (07:34 +0000)
commitbd6fd3018a7dc4249f92491db62d4c18d490c022
tree2ba9f1994630503e3adc6606440d0cc74e0fe4ce
parent1d4d5883ff499e6e3598401d62b2bea7f4315111
Don't test datetime in locales with no encoding

Some datetime tests run the test in every available locale.
If this set includes locales without an encoding (currently dsb_DE
and sah_RU), it fails due to Python bug
https://bugs.python.org/issue20088

Failure log
https://tests.reproducible-builds.org/debian/rbuild/buster/amd64/pandas_0.23.3+dfsg-3.rbuild.log.gz

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug: https://github.com/pandas-dev/pandas/issues/20957
Forwarded: no

Gbp-Pq: Name skip_noencoding_locales.patch
pandas/_config/localization.py